package com.miplus.ccrm.core.service.conf;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.common.JSysUser;
import com.miplus.ccrm.core.controller.vo.conf.*;
import com.miplus.ccrm.core.pojo.WfActions;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author pc
* @description 针对表【wf_actions】的数据库操作Service
* @createDate 2024-03-10 11:30:51
*/
public interface WfActionsService extends IService<WfActions> {

    IPage<WfActionResVo> wfActionList(WfActionReqVo paras);

    CmdResVo updateAction(WfActEditReqVo paras);

    CmdResVo insertAction(WfActEditReqVo paras);

    CmdResVo deleteAction(String id);

    List<WfActResVo> getStepActions(JSysUser user, Integer stepId);
}
